<?php

namespace common\models\cms;

use Yii;

/**
 * This is the model class for table "{{%cms_article_data}}".
 *
 * @property int $id
 * @property int $article_id 文章ID
 * @property string $body 文章图文详情
 */
class CmsArticleData extends \common\db\ActiveRecord {

    /**
     * {@inheritdoc}
     */
    public static function tableName() {
        return '{{%cms_article_data}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['article_id'], 'integer'],
            [['body'], 'string'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => 'ID',
            'article_id' => '文章ID',
            'body' => '文章图文详情',
        ];
    }

}
